<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>input and delete ssh info</h1>

<form action="/app/index" method="post" >
    <p>virtual or server<input type="text" name="vs"></p>
    <p>ips<input type="text" name="ips"></p>
    <p>ip<input type="text" name="ip"></p>
    <p>username<input type="text" name="username"></p>
    <p>pwd<input type="text" name="pwd"></p>
    <br>
    <p>virtual or server delete<input type="text" name="vs_delete"></p>
    <p>ips delete<input type="text" name="ips_delete"></p>
    <p>ip delete<input type="text" name="ip_delete"></p>
    <p>username delete<input type="text" name="username_delete"></p>
    <p>pwd delete<input type="text" name="pwd_delete"></p>
    <p><input type="submit" value="submit"></p>
</form>

<hr>


<hr>

<h1>信息展示</h1>

<table border="1">

    <tr>
        <td>type</td>
        <td>ip_server</td>
        <td>ip</td>
        <td>username</td>
        <td>pwd</td>
    </tr>

    {% for i in info_list %}
        <tr>
            <td>{{ i.type }}</td>
            <td>{{ i.ips }}</td>
            <td>{{ i.ip }}</td>
            <td>{{ i.username }}</td>
            <td>{{ i.pwd }}</td>
        </tr>
    {% endfor %}

</table>

</body>